This section describes the request types used by two standard dialog component functions that allow you to work with the current compression settings for an image or a sequence of images. (You can establish these settings in a number of ways; see "Setting Default Parameters" for more information about your options.)
You use the SCGetInfo function (described on The standard dialog component provides two functions that allow you to work with the current compression settings for an image or a sequence of images. You can establish these settings in a number of ways: see "Setting Default Parameters" for more information about your options. ) to retrieve settings information. The SCSetInfo function (described on SCSetInfo ) enables you to modify the settings.
These functions can work with a number of different types of settings information. When you call either function, you specify the type of data you want to work with. The following request types are defined:
#define scSpatialSettingsType 'sptl' /* spatial options */
#define scTemporalSettingsType 'tprl' /* temporal options */
#define scDataRateSettingsType 'drat' /* data rate */
#define scColorTableType 'clut' /* color table */
#define scProgressProcType 'prog' /* progress function */
#define scExtendedProcsType 'xprc' /* extended dialog */
#define scPreferenceFlagsType 'pref' /* preferences */
#define scSettingsStateType 'ssta' /* all settings */
#define scSequenceIDType 'sequ' /* sequence ID */
#define scWindowPositionType 'wndw' /* window position */
#define scCodecFlagsType 'cflg' /* compression flags */
Each of these request types requires different parameter data. The following sections discuss each of these request types and their data requirements.